{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "9b1e5ccf-c2de-486e-976e-6355675d796c",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2×3的数组arr1: [[10 20 30]\n",
      " [40 50 60]]\n"
     ]
    }
   ],
   "source": [
    "import numpy as np\n",
    "arr1 = np.array([[10,20,30],[40,50,60,]])\n",
    "print('2×3的数组arr1:',arr1)\n",
    "\n",
    "arr2 = np.array([[1,2,2],[2,2,3]])\n",
    "print('2×3的数组arr2:',arr2)\n",
    "pirnt('arr1与arr2的加法运算：',arr1+arr2)\n",
    "pirnt('arr1与arr2的减法运算：',arr1-arr2)\n",
    "pirnt('arr1与arr2的乘法运算：',arr1*arr2)\n",
    "pirnt('arr1与arr2的除法运算：',arr1/arr2)\n",
    "pirnt('arr1与arr2的 运算：',arr1**arr2)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "65651011-b0f4-4710-8bd9-69efe1cde025",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.13.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
